<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%--    <meta charset="usf-8">--%>
    <title>Title</title>
</head>
<body>
<%--打印输出当前系统时间--%>

<%
    Date date = new Date();
    SimpleDateFormat simpleDateFormat = new SimpleDateFormat();
    simpleDateFormat.applyPattern("yyyy年MM月dd日");
    String sDate = simpleDateFormat.format(date);
%>
<p>
    当前系统时间是：<%=sDate %>
</p>
</body>
</html>
